/******************************************************************************
 * @File name   :      IPackageDefinitionDao.java
 *
 * @Author      :      JIZHANGS
 *
 * @Date        :      Jul 22, 2015
 *
 * @Copyright Notice: 
 * Copyright (c) 2015 Capgemini, Inc. All  Rights Reserved.
 * This software is published under the terms of the Capgemini Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * Jul 22, 2015 3:09:39 PM        JIZHANGS     1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.crmdp.dealer.purchase.dao;

import java.util.List;

import com.cap.bts.crmdp.dealer.purchase.domain.PackageDefinition;
import com.cap.bts.framework.common.dao.IBaseDao;
import com.cap.bts.framework.common.exception.AppException;

/**
 *
 */
public interface IPackageDefinitionDao extends IBaseDao<PackageDefinition, Long> {
    
    public List<PackageDefinition> getAllPackageDefinitionList() throws AppException;
    
    public PackageDefinition getPackageDefinitionInfoById(Long id) throws AppException;
    
    public List<PackageDefinition> getPackageDefinitionListByCode(String code) throws AppException;
}
